package model

import "wh-1-backend/internal/model/entity"

type MenuCreateInput struct {
	Pid      uint
	Title    string
	Slug     string
	Type     int
	Icon     string
	IconType int
	Path     string
	Order    int
	Hidden   int
}

type MenuTreeItem struct {
	entity.AdminMenu
	Children []*MenuTreeItem `json:"children"` // 子级数据项
}

type MenuSimpleTreeItem struct {
	Id       uint                  `json:"id"           ` //
	Pid      uint                  `json:"pid"          ` //
	Title    string                `json:"title"        ` //
	Children []*MenuSimpleTreeItem `json:"children"`      // 子级数据项
}
